import requset from '@/utils/request'
export const details = a => {
  return requset({
    url: '/v1_0/articles/' + a
  })
}
// 获取评论的函数
export const cmtList = params => {
  return requset({
    url: '/v1_0/comments',
    params
  })
}
// 发布评论的请求函数
export const sendCmt = data => {
  return requset({
    url: '/v1_0/comments',
    method: 'post',
    data
  })
}
